<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="__CSS__/style_forum.css">
	<link rel="stylesheet" href="__CSS__/style_view.css">
	<link rel="stylesheet" href="__CSS__/reset.css">
	<link rel="stylesheet" href="__ACSS__/style_deal.css">
	<link rel="stylesheet" href="__ACSS__/mesdeal.css">
	<link rel="stylesheet" href="__ACSS__/binmesdeal.css">
	<title>帖子管理 - ThinkPHP后台管理</title>
	<script type="text/javascript" src="__JS__/jquery-3.4.1.min.js"></script>
	<script type="text/javascript" src="__JS__/loadinghtml.js"></script>
	<script type="text/javascript" src="__JS__/DropDown.js"></script>
	<script src="__JS__/del.js"></script>
	<script type="text/javascript">
		function submitForm() {
			var form = document.getElementById('search');
			form.submit();
		}
	</script>
</head>
<body>
	<div id="header" class="top">
		<div id="hd-main">
			<a id="alink" href="../../forum_guzp/guzp.html" title="返回首页"></a>
			<ul id="main-nav">
				<li style="background-color: #656565"><a href="{:url('deal/mesdeal')}">帖子管理</a></li>
				<li><a href="{:url('deal/secdeal')}">版块管理</a></li>
				<li><a href="{:url('bindeal/binsecdeal')}">回收站管理</a></li>
				<li><a href="{:url('adv/boxdeal')}">轮播图管理</a></li>
				<li><a href="{:url('admin/apa')}">修改密码</a></li>
				<li><a href="{:url('admin/alogout')}">注销</a></li>
			</ul>
			<div id="header-bar">
				<h3>欢迎你，{:session('auser')}</h3>
				<div id="userloginmes">
					<a href="" id="unlogin">
						<b></b>
					</a>
					<ul>
						<li><a href="{:url('admin/alogout')}">退出</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<div id="main">
		<div id="sort-box">
			<div id="sec-sel">
				{volist name="sec" id="secRow"}
				<a href="{:url('deal/mesdeal',['s_id'=>$secRow.s_id])}" class="item">{$secRow.s_name}</a>
				{/volist}
			</div>
			<div style="height: 31px;">
				<p class="item" id="pwd">当前版块：{$cur['s_name']}</p>
				<form id="search" action="{:url('deal/mesDeal')}" method="post">
					<input type="text" name="keyword" id="keyword" placeholder="请按标题或作者查询">
					<a onclick="submitForm();">搜索</a>
				</form>
			</div>
		</div>
		<div class="main-conter">
            <table>
                <tr id="first">
                    <th>序号</th>
                    <th>标题</th>
                    <th>发布时间</th>
                    <th>作者</th>
                    <th>操作</th>
                </tr>
                {volist name='mes' id="mesRow" key='i'}
                <tr>
                    <td>{$i}</td>
                    <td><a href="{:url('deal/aDetail',['m_id'=>$mesRow.m_id])}">{$mesRow.m_title}</a></td>
                    <td>{$mesRow.m_createat | date="Y/m/d"}</td>
                    <td>{$mesRow.u_nick}</td>
                    <td>
                        <a href="{:url('deal/mesdel',['m_id'=>$mesRow.m_id])}" onclick="return del()">直接删除</a> |
						<a href="{:url('deal/mesRecycle',['m_id'=>$mesRow.m_id])}">回收站</a>
                    </td>
                </tr>
                {/volist}
			</table>
			<nav id="page1">{$page | raw}</nav>
		</div>
		<div id="bg"></div>
		
	</div>
	
	<div id="footer"></div>
</body>
</html>